import request from "/@/utils/request"

export function getTreeList(data?: Object) {
    return request({
        url: '/eletile-mes/mesBandRelationProduce/getTreeList',
        method: 'post',
        params: data
    })
}

export function mesForwardTracePage(query?: Object) {
    return request({
        url: '/eletile-mes/mesForwardTrace/page',
        method: 'get',
        params: query
    })
}

export function mesForwardTrace(query?: Object) {
    return request({
        url: '/eletile-mes/mesForwardTrace/getMaterialList',
        method: 'get',
        params: query
    })
}

export function getSocodeByStockBatchAndMaterialCode(query?: Object) {
    return request({
        url: '/eletile-mes/mesForwardTrace/getSocodeByStockBatchAndMaterialCode',
        method: 'get',
        params: query
    })
}

